package com.sansan.qiangji.form.system.menu;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class MenuAddForm {
    @NotEmpty(message = "菜单节点编号不能为空")
    private String menuRoot;
    @NotEmpty(message = "菜单名称不能为空")
    private String menuName;
    @NotNull(message = "菜单级数不能为空")
    private String menuNode;
    @NotEmpty(message = "菜单上级不能为空")
    private String menuParent;
    private String menuPath;
}
